This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
ok yes, it worked indeed. Unfortunately not the way I expected. And now I see why: reason is that I'm programming a server side event, not a client side one. Stupid me!
Let me explain: what I'd like to achieve is a page popping up that's thanking the users for their input. Then, after say 5 seconds they shall automatically be re-directed to the company homepage. I've done this numerous times in classical web design: write a function that's setting a timer and then doing the re-directing job. The function is called from the page's "onLoad" event. Doh! We don't have client side page events in XPages, that's why no thank you page is showing up, instead the user stares at a blank screen for 5 seconds :-o
I'm sure I must be missing something, but I can't see any client side events for pages. Only for buttons, fields and other UI stuff (btw: there's not even an onClick event for the page; didn't think of that until today...).
Question 1: is this something that was left out intentionally, or has it just been forgotten to implement client-side page events?
Question 2: how can I achieve my client-side processing goal? Do I have to write my own event handler? Is this possible? If so: are there some examples available how to do it? I found the "Event Handler" control in the "Other" menu, but that's not really intuitive to work with...
Edit:
meanwhile I found my workaround by displaying my thank you message in a plain javascript alert. Works nicely but is quite ugly, and the user still has to click onto another button.
Any hint as how to get it done the elegant way is still very welcome.
-Lothar
Feedback response number WEBB7RCCFK created by ~Justin Zekamanlen on 04/22/2009